﻿<%@ Page Title="撤废目录" Language="C#" MasterPageFile="~/Master/MasterPage.master"  AutoEventWireup="true" CodeBehind="AreaDeleteProcure.aspx.cs" Inherits="HZ.Supervise.Web.Peculiar.AreaDeleteProcure" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li ><a href="ArealCatalog.aspx">采购目录</a></li>
            <li><a href="ArealCatalogUpdate.aspx">调价目录</a></li>
             <li class="active"><a href="#">撤废目录</a></li>
        </ul>
    </div>
    
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                通用名：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProductName" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                剂型：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMedicineModelName" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                规格：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutlookc" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                采购类型：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlSortSource" runat="server">
                                    <asp:ListItem Value="-1">全部</asp:ListItem>
                                    <asp:ListItem Value="0">基本药品</asp:ListItem>
                                    <asp:ListItem Value="1">非基本药品</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                单位：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                             <td align="right">
                                生产企业：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtCompanyName_SC" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    
    <asp:GridView ID="gvwProduceCatalog" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无符合条件的数据！" onrowcommand="gvwProduceCatalog_RowCommand">
        <Columns>
           <%-- <asp:TemplateField HeaderText="选择">
                <ItemTemplate>
                    <asp:CheckBox ID="CheckBox1" runat="server" ToolTip='<%# Eval("AID") %>'/> 
                </ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>--%>
            <asp:BoundField DataField="DProcureCatalogID" HeaderText="流水号" />
            <asp:BoundField DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField DataField="AreaName" HeaderText="撤废地区" />
            <asp:BoundField DataField="MedicineModelName" HeaderText="剂型" />
            <asp:BoundField DataField="Outlookc" HeaderText="规格" />
            <asp:BoundField DataField="Factor" HeaderText="包装">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="Unit" HeaderText="单位">
                <HeaderStyle Width="30px" />
            </asp:BoundField>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业" />
            <asp:TemplateField HeaderText="采购类型">
                <ItemTemplate>
                    <%#HZ.Supervise.Web.Function.FormatDrugSource(Eval("SortSource"))%>
                </ItemTemplate>
            </asp:TemplateField>
              <asp:TemplateField HeaderText="查看">
                <ItemTemplate> 
              <hz:HzLinkButton ID="lbnEdit" runat="server" CommandArgument='<%#Eval("DAreaid")+","+ Eval("DProcureCatalogID")%>'  CommandName="View" Text="修改记录" OperateType="维护" ModuleNo="特殊权限"  AttributeToControl="Enabled" />
               </ItemTemplate>
               </asp:TemplateField>
               <%-- <asp:HyperLinkField  
                DataNavigateUrlFields='DAreaid,DProcureCatalogID' Text="修改记录" 
                DataNavigateUrlFormatString="~/Peculiar/Lookhistory.aspx?id2=1&id3={0}&id4={1}" 
                Target="_blank" />--%>
             <%-- <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                      <a href="UpdateProcureCatalog.aspx?GID=<%# Eval("ProcureCatalogID") %>&type=2">调价</a>
                </ItemTemplate>
            </asp:TemplateField>--%>
        </Columns>
    </asp:GridView>
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
    </webdiyer:AspNetPager>
    </asp:Content>
